package com.itheima.pojo;

public class Borrow {
    private int id;
    private String name;
    private Double price;
    private int pnum;
    private String category;
    private String username;
    private String time;
    private String overtime;

    public Borrow() {
    }

    public Borrow(int id, String name, Double price, int pnum, String category, String username, String time, String overtime) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.pnum = pnum;
        this.category = category;
        this.username = username;
        this.time = time;
        this.overtime = overtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public int getPnum() {
        return pnum;
    }

    public void setPnum(int pnum) {
        this.pnum = pnum;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getOvertime() {
        return overtime;
    }

    public void setOvertime(String overtime) {
        this.overtime = overtime;
    }

    @Override
    public String toString() {
        return "Borrow{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", pnum=" + pnum +
                ", category='" + category + '\'' +
                ", username='" + username + '\'' +
                ", time='" + time + '\'' +
                ", overtime='" + overtime + '\'' +
                '}';
    }
}
